from django.db import models

# Create your models here.
# Create your models here.
class CaptchaModel(models.Model):
    email = models.EmailField(unique=True)
    captcha = models.CharField(max_length=4)
    create_time = models.DateTimeField(auto_now_add=True)

    class Meta:
        db_table = 'blog_captcha'
        verbose_name = '验证码'
        verbose_name_plural = verbose_name